import request from '@/utils/request'

export function queryTotal (data) {
    return request({
        url: '/api/server/homePage/queryTotal',
        method: 'post',
        data
    })
}

export function queryCountGroupByMonth (data) {
  return request({
      url: '/api/server/homePage/queryCountGroupByMonth',
      method: 'post',
      data
  })
}

export function queryCountGroupByPublisher (data) {
  return request({
      url: '/api/server/homePage/queryCountGroupByPublisher',
      method: 'post',
      data
  })
}

export function getStatisForCity (data) {
  return request({
      url: '/api/server/bigScreen/getJournalingForCity',
      method: 'get',
      params:data
  })
}

export function getStatisForJigou (data) {
  return request({
      url: '/api/server/bigScreen/getJournalingForJigou',
      method: 'get',
      params:data
  })
}

export function getStatisForZhuanjia (data) {
  return request({
      url: '/api/server/bigScreen/getJournalingForZhuanjia',
      method: 'get',
      params:data
  })
}

export function getStatisForLanmu (data) {
  return request({
      url: '/api/server/bigScreen/getJournalingForLanmu',
      method: 'get',
      params:data
  })
}

